package apis;

import java.io.IOException;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import yaty.lee.tencent.weibo.util.HttpURLConnectionUtil;

public class APIs {

    @BeforeClass
    public static void setUpBeforeClass() throws Exception {
    }

    @AfterClass
    public static void tearDownAfterClass() throws Exception {
    }

    @Before
    public void setUp() throws Exception {
    }

    @After
    public void tearDown() throws Exception {
    }

    /**
     * <URL>http://randomuser.me/</URL>
     */
    @Test
    public void randomUserGenerator() throws IOException {
        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/"));

        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/0.2/"));

        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/?results=5"));

        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/?gender=male"));

        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/?seed=foobar"));
        System.out.println(HttpURLConnectionUtil.get("http://api.randomuser.me/?seed=foobar"));
    }

    /**
     * <URL>http://restcountries.eu/</URL>
     */
    @Test
    public void restCountries() throws IOException {
        System.out.println(HttpURLConnectionUtil.get("http://restcountries.eu/rest/"));
    }

    /**
     * <URL>https://cloudconvert.org/</URL>
     */
    @Test
    public void cloudConvert() {

    }

    /**
     * <URL>http://www.telize.com/</URL>
     */
    @Test
    public void telize() {

    }

    /**
     * <URL>http://timezonedb.com/</URL>
     */
    @Test
    public void timezoneDB() {

    }

    /**
     * <URL>http://www.statdns.com/</URL>
     */
    @Test
    public void statDNS() {

    }

    /**
     * <URL>http://oocharts.com/</URL>
     */
    @Test
    public void OOcharts() {

    }

    /**
     * <URL>http://openweathermap.org/</URL>
     */
    @Test
    public void openWeatherMap() {

    }

    /**
     * <URL>http://www.exif.in/</URL>
     */
    @Test
    public void exif() {

    }

    /**
     * <URL>http://www.purgomalum.com/</URL>
     */
    @Test
    public void purgoMalum() {

    }

    /**
     * <URL>http://www.zippopotam.us/</URL>
     */
    @Test
    public void zippopotam() {

    }

    /**
     * <URL>http://freemusicarchive.org/api</URL>
     */
    @Test
    public void freeMusicArchive() {

    }

    /**
     * <URL>http://www.themoviedb.org/</URL>
     */
    @Test
    public void theMovieDatabase() {

    }

    /**
     * <URL>http://www.omdbapi.com/</URL>
     */
    @Test
    public void omdb() {

    }

    /**
     * <URL>http://blog.mailgun.com/post/free-email-validation-api-for-web-forms
     * /</URL>
     */
    @Test
    public void emailValidation() {

    }

    /**
     * <URL>http://spamcheck.postmarkapp.com/</URL>
     */
    @Test
    public void spamCheck() {

    }

    /**
     * <URL>http://openbeerdatabase.com/</URL>
     */
    @Test
    public void openBeerDatabase() {

    }
}
